﻿<%@page import="com.qunar.dyds.Setting"%>
<%@page import="com.qunar.dyds.entity.Competitor"%>
<%@page language="java" contentType="text/html; charset=UTF-8"%>
    <div class="panel top_panel">
        <div class="block t1"></div>
        <div class="block t2"></div>
        <div class="block t3"></div>
        <div class="block t4"></div>
        <div class="block t5"></div>
    </div>
    <div class="panel nav_panel clr_after">
        <div class="menu">
            <ul>
                <li class="home"><a id="m_home" href="home.htm"><span>首页</span></a></li>
                <li class="intro"><a id="m_intro" href="intro.htm"><span>活动介绍</span></a></li>
                <li class="term"><a id="m_term" href="term.htm"><span>参赛条件</span></a></li>
                <li class="sign"><a id="m_sign" href="sign.htm"><span>报名入口</span></a></li>
                <li class="vote"><a id="m_vote" href="vote.htm"><span>网友投票</span></a></li>
                <li class="report"><a id="m_report" href="report.htm"><span>投诉举报</span></a></li>
                <li class="contact"><a id="m_contact" href="contact.htm"><span>联系我们</span></a></li>
            </ul>
        </div>
        <div class="userinfo">
        <% 
        Competitor c = (Competitor) session.getAttribute(Setting.SESSION_KEY);
        if (c== null) { %>
            <input id="lg_name" type="text" value="用户名" class="textbox" style="color:#555;"/>
            <input id="lg_pass" type="password" value="000000" class="textbox" style="color:#555;"/>
            <input type="button" id="btn_login" class="btn_login" value="" />
            <script type="text/javascript" src="/scripts/login.js"></script>
        <% } else { %>
            <span>您好, <a href="profile.htm"><%=c.getUsername() %></a> <a href="logout.htm">注销</a></span>
        <%} %>
        </div>
    </div>
